package com.paydemo.pay.RabbitMQ;

/**
 * RabbitMQ 常量类
 */
public class MqConstants {

    /**
     * 支付相关交换机
     */
    public static final String PAYMENT_EXCHANGE = "payment.exchange";

    /**
     * 支付订单创建队列
     */
    public static final String PAYMENT_ORDER_CREATE_QUEUE = "payment.order.create.queue";

    /**
     * 支付订单创建路由键
     */
    public static final String PAYMENT_ORDER_CREATE_KEY = "payment.order.create";

    /**
     * 支付成功队列
     */
    public static final String PAYMENT_SUCCESS_QUEUE = "payment.success.queue";

    /**
     * 支付成功路由键
     */
    public static final String PAYMENT_SUCCESS_KEY = "payment.success";

    /**
     * 支付失败队列
     */
    public static final String PAYMENT_FAIL_QUEUE = "payment.fail.queue";

    /**
     * 支付失败路由键
     */
    public static final String PAYMENT_FAIL_KEY = "payment.fail";

    /**
     * 支付超时队列
     */
    public static final String PAYMENT_TIMEOUT_QUEUE = "payment.timeout.queue";

    /**
     * 支付超时路由键
     */
    public static final String PAYMENT_TIMEOUT_KEY = "payment.timeout";
    
    /**
     * 死信交换机
     */
    public static final String DEAD_LETTER_EXCHANGE = "payment.dead.letter.exchange";
    
    /**
     * 死信队列 - 订单创建
     */
    public static final String DEAD_LETTER_ORDER_CREATE_QUEUE = "payment.dead.letter.order.create.queue";
    
    /**
     * 死信路由键 - 订单创建
     */
    public static final String DEAD_LETTER_ORDER_CREATE_KEY = "payment.dead.letter.order.create";
    
    /**
     * 死信队列 - 支付成功
     */
    public static final String DEAD_LETTER_SUCCESS_QUEUE = "payment.dead.letter.success.queue";
    
    /**
     * 死信路由键 - 支付成功
     */
    public static final String DEAD_LETTER_SUCCESS_KEY = "payment.dead.letter.success";
    
    /**
     * 死信队列 - 支付失败
     */
    public static final String DEAD_LETTER_FAIL_QUEUE = "payment.dead.letter.fail.queue";
    
    /**
     * 死信路由键 - 支付失败
     */
    public static final String DEAD_LETTER_FAIL_KEY = "payment.dead.letter.fail";
    
    /**
     * 死信队列 - 支付超时
     */
    public static final String DEAD_LETTER_TIMEOUT_QUEUE = "payment.dead.letter.timeout.queue";
    
    /**
     * 死信路由键 - 支付超时
     */
    public static final String DEAD_LETTER_TIMEOUT_KEY = "payment.dead.letter.timeout";
} 